/*
 * @Author: your name
 * @Date: 2021-11-01 15:58:05
 * @LastEditTime: 2021-11-11 21:06:00
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \star-cat-h5\src\main.js
 */
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import VueRequest from './axios/api'
import store from './vuex/store' //导入 store 对象

//插入过滤器名和对应方法
import * as filters from '@/util/filters'
Object.keys(filters).forEach(key=>{
    Vue.filter(key,filters[key])
})

import './permission'
Vue.use(VueRequest);
Vue.config.productionTip = false
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
